body {
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: "PingFang SC", "Helvetica Neue", "Hiragino Sans GB",
    "Microsoft YaHei", 微软雅黑, Arial, sans-serif;
  background: #f6f6f6;
  color: #333333;
  font-size: 16px;
}

div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
button,
textarea,
blockquote,
p {
  padding: 0;
  margin: 0;
  outline: none;
  border: none;
}

table,
td,
tr,
th {
  font-size: 12px;
}

li {
  list-style-type: none;
}

img {
  vertical-align: top;
  border: 0;
}

ol,
ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 12px;
  font-weight: normal;
}

address,
cite,
code,
em,
th {
  font-weight: normal;
  font-style: normal;
}

.fB {
  font-weight: bold;
}

.f12px {
  font-size: 12px;
}

.f14px {
  font-size: 14px;
}

.left {
  float: left;
}

.right {
  float: right;
}

a {
  color: #2b2b2b;
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  color: #ba2636;
  text-decoration: underline;
}

a:active {
  color: #ba2636;
}

.warp {
  width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

// 头部
.header {
  background-color: #fff;

  &>.head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 79px;

    &>.header-left {
      display: flex;
      align-items: center;

      &>.vertical {
        width: 2px;
        height: 32px;
        margin-left: 20px;
        background-color: #eaeaea;
      }
    }

    .text {
      font-size: 16px;
      color: #333333;
      letter-spacing: 1px;
      margin-left: 20px;
      cursor: pointer;
    }

    &>.header-right {
      display: flex;
    }
  }
}

.container {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-top: 35px;
  margin-bottom: 36px;
  height: calc(100vh - 221px);
  min-height: 660px;

  &>.set-nav {
    padding: 35px 0;
    width: 234px;
    background-color: #fff;
    box-shadow: 10px 10px 36px 0px rgba(102, 178, 246, 0.12);
    border-radius: 4px;

    &>.head-photo {
      position: relative;
      height: 121px;
      width: 121px;
      margin: 0 auto;
      border-radius: 50%;
      overflow: hidden;
      box-shadow: 0px 8px 16px 0px rgba(102, 178, 246, 0.18);

      &>.img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
      }
    }

    &>.set-items {
      margin-top: 56px;
      width: 100%;

      &>.item {
        position: relative;
        padding-top: 24px;
        padding-bottom: 23px;
        font-size: 18px;
        cursor: pointer;
        letter-spacing: 1px;
        text-align: center;

        &.cur {
          background-color: #b3d9fb;

          &::before {
            position: absolute;
            left: 0;
            top: 0;
            display: block;
            content: "";
            height: 100%;
            width: 6px;
            background-color: #3480ff;
          }
        }
      }
    }
  }

  &>.main {
    position: relative;
    box-sizing: border-box;
    padding: 23px;
    width: 934px;
    background-color: #fff;
    box-shadow: 10px 10px 36px 0px rgba(102, 178, 246, 0.12);
    border-radius: 4px;
  }
}

//尾部
.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 42px;
  font-size: 12px;
  letter-spacing: 0px;
  color: #999;

  &>.copy {
    font-size: 14px;
    margin-right: 10px;
  }
}

.style-title {
  display: flex;

  &>.tit {
    display: flex;
    align-items: center;
    font-size: 18px;
    letter-spacing: 1px;
    font-weight: bolder;

    &::before {
      content: "";
      display: block;
      width: 4px;
      height: 20px;
      background-color: #409eff;
      margin-right: 9px;
    }
  }

  &>.txt {
    font-size: 12px;
    letter-spacing: 0px;
    color: #666;
    margin-left: 12px;
    align-self: flex-end;
  }
}

.style-btn {
  border: 0;
  outline: none;
  width: 100%;
  height: 60px;
  background-color: #3480ff;
  border-radius: 4px;
  color: #fff;
  font-size: 18px;
  letter-spacing: 1px;
  cursor: pointer;
}

.style-switch-round {
  position: relative;
  width: 50px;
  height: 27px;
  background-color: #eaedf6;
  border-radius: 13.5px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-right: 15px;

  &>.switch-port {
    position: absolute;
    left: 1px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    transition: left 0.3s;
  }

  //打开时的状态
  &.cur {
    background-color: #409eff;

    &>.switch-port {
      left: 24px;
    }
  }
}

.style-main {
  .finish-show {
    width: 400px;
    margin: 159px auto 0;
    text-align: center;

    .finish-img {
      width: 160px;
      height: 160px;
      margin: 0 0 44px 0;
    }

    .finish-text {
      letter-spacing: 1px;
      color: #666666;
      font-size: 32px;
    }
  }
}

.style-input-name {
  width: 100px;
  font-size: 20px;
  line-height: 23px;
  letter-spacing: 1px;
  color: #333333;
  text-align: right;
  margin: 0 19px 0 0;
}

.style-input-content {
  height: 40px;
  line-height: 40px;
  border-radius: 4px;
  border: solid 1px #dcdfe6;
  outline: none;
  font-size: 16px;
  letter-spacing: 1px;
  color: #dcdfe6;
  padding: 0 0 0 13px;
}

.style-password-show {
  display: flex;
  align-items: center;

  &>.intensity {
    display: flex;
    margin-left: 7px;
    font-size: 12px;
    background-color: #e8e8e8;
    border-radius: 4px;
    overflow: hidden;

    &>div {
      width: 40px;
      height: 16px;
      line-height: 16px;
      text-align: center;
      color: #999;

      &:nth-of-type(n + 2) {
        border-left: 1px solid #fff;
      }

      //低
      &.low.cur {
        background-color: #ff4f4f;
      }

      //中
      &.middle.cur {
        background-color: #fe854e;
      }

      //高
      &.high.cur {
        background-color: #4fff9a;
      }

      //被选中
      &.cur {
        color: #fff;
      }
    }
  }
}

.style-pushs {
  margin-top: 67px;
  width: 786px;
  display: flex;
  justify-content: space-between;

  &>.style-tips {
    display: flex;
    flex-direction: column;

    &>.style-titles {
      font-size: 16px;
      letter-spacing: 1px;
      color: #333333;
    }

    &>.style-message {
      font-size: 14px;
      letter-spacing: 1px;
      color: #999999;
    }
  }

  .style-switch-round {
    position: relative;
    width: 50px;
    height: 27px;
    background-color: #eaedf6;
    border-radius: 13.5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 2px;

    &>.switch-port {
      position: absolute;
      left: 1px;
      top: 50%;
      transform: translateY(-50%);
      background-color: #fff;
      width: 25px;
      height: 25px;
      border-radius: 50%;
      transition: left 0.3s;
    }

    //打开时的状态
    &.cur {
      background-color: #409eff;

      &>.switch-port {
        left: 24px;
      }
    }
  }
}

.hidden {
  display: none !important;
}